fix(gmail): expose messageId field in read email block#2943
Merged
waleedlatif1 merged 1 commit intostagingfrom Jan 22, 2026
Merged
fix(gmail): expose messageId field in read email block#2943waleedlatif1 merged 1 commit intostagingfrom
waleedlatif1 merged 1 commit intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile SummaryFixed a bug where the
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant GmailBlock
participant BlockUI
participant GmailReadTool
participant GmailAPI
User->>BlockUI: Select "Read Email" operation
BlockUI->>BlockUI: Check mode (basic/advanced)
alt Basic Mode
BlockUI->>BlockUI: Show folder selector
BlockUI-->>User: messageId field hidden
else Advanced Mode
BlockUI->>BlockUI: Show manual folder input
BlockUI->>BlockUI: Evaluate messageId condition
Note over BlockUI: OLD: condition required folder=''<br/>NEW: only checks operation='read_gmail'
BlockUI-->>User: messageId field now visible
end
User->>GmailBlock: Enter messageId + enable attachments
GmailBlock->>GmailReadTool: Pass messageId parameter
alt messageId provided
GmailReadTool->>GmailAPI: GET /messages/{messageId}?format=full
GmailAPI-->>GmailReadTool: Single message data
GmailReadTool->>GmailReadTool: Process message with attachments
else No messageId (folder-based)
GmailReadTool->>GmailAPI: GET /messages?q=label:{folder}
GmailAPI-->>GmailReadTool: List of message IDs
GmailReadTool->>GmailAPI: GET /messages/{id}?format=full (for each)
GmailAPI-->>GmailReadTool: Message details
end
GmailReadTool-->>User: Email content + attachments
|
waleedlatif1
added a commit
that referenced
this pull request
Jan 22, 2026
…lution consolidation, helm updates (#2946) * improvement(workflow-item): stabilize avatar layout and fix name truncation (#2939) * improvement(workflow-item): stabilize avatar layout and fix name truncation * fix(avatars): revert overflow bg to hardcoded color for contrast * fix(executor): stop parallel execution when block errors (#2940) * improvement(helm): add per-deployment extraVolumes support (#2942) * fix(gmail): expose messageId field in read email block (#2943) * fix(resolver): consolidate reference resolution (#2941) * fix(resolver): consolidate code to resolve references * fix edge cases * use already formatted error * fix multi index * fix backwards compat reachability * handle backwards compatibility accurately * use shared constant correctly * feat(router): expose reasoning output in router v2 block (#2945) * fix(copilot): always allow, credential masking (#2947) * Fix always allow, credential validation * Credential masking * Autoload * fix(executor): handle condition dead-end branches in loops (#2944) --------- Co-authored-by: Vikhyath Mondreti <[email protected]> Co-authored-by: Siddharth Ganesan <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of Change
Testing
Tested manually
Checklist